//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#if _MSC_VER > 1000
#pragma once
#endif

#ifndef __ztmach_h__
#define __ztmach_h__

#ifdef __cplusplus
extern "C"{
#endif

/* Forward Declarations */

/* header files for imported files */
#include "elatypes.h"

#ifndef ___Zyc_Machine_Types_INTERFACE_DEFINED__
#define ___Zyc_Machine_Types_INTERFACE_DEFINED__

/* interface _Zyc_Machine_Types */
/* [auto_handle][unique][uuid] */

typedef struct  _INT128
    {
    UINT32 u0;
    UINT32 u1;
    UINT32 u2;
    INT32 u3;
    }    INT128;

typedef struct  _UINT128
    {
    UINT32 u0;
    UINT32 u1;
    UINT32 u2;
    UINT32 u3;
    }    UINT128;

#define    UINTSIZE ( 32 )

#define    MUTEX_STATE_SIZE ( 2 )

#define    CONDITION_STATE_SIZE ( 1 )

#define    RWLOCK_STATE_SIZE ( 2 )

#define STDCALL_NOT_EQUIVALENT_TO_CDECL 1
typedef unsigned long ULONG_PTR;

#define CONST const

#endif /* ___Zyc_Machine_Types_INTERFACE_DEFINED__ */

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif
